<?php defined('InTuntronKJ') or exit('Access Invalid!');?>



<!--crumbs start-->
<div class="crumbs">
    <input  type="hidden" id ="pidUserName"/>
    <ul>
        <li><span class="strong">当前位置：</span></li>
        <li><a href="#LotteryHall">首页</a></li>
        <li><a href="#MemberManage&op=TeamCoinAll">团队统计</a></li>
        <li><div id="li_hierarchy"></div></li>
    </ul>
    <div class="clear"></div>
</div>
<!--crumbs end-->

<!--list_main start-->
<div class="list_main">
    <!--list_header start-->
    <div class="list_header">

        <!--list_nav start-->
        <div class="list_nav">
            <ul>
                <li><a href="#MemberManage">会员管理</a></li>
                <li><a href="#MemberManage&op=TeamGamerecord">游戏记录</a></li>
        		<li><a href="#MemberManage&op=TeamRprofitloss">盈亏报表</a></li>
        		<li class="current"><a href="#MemberManage&op=TeamCoinAll">团队统计</a></li>
        		<li><a href="#MemberManage&op=TeamCoin">账变记录</a></li>
        		<li><a href="#MemberManage&op=TeamRecharge">充值记录</a></li>
        		<li><a href="#MemberManage&op=TeamCashRecord">提现记录</a></li>
        		<li><a href="#MemberManage&op=Links">推广链接</a></li>
            </ul>
            <div class="clear"></div>
        </div>
        <!--list_nav end-->
    
    </div>
    <!--list_header end-->
    
    

    <!--list_table satrt-->
    <div class="list_table">
    <style>td{border-right:1px #333 solid;}</style>
        <table>
			<thead>
                <tr class="dark"><th colspan="2">团队统计</th></tr>
            </thead>
            	<tr>
                	<td style="text-align:right"><span class="base_orgen">账号类型</span></td>
                	<td><span class="base_orgen"><?php echo $output['param']['type']==0?'会员':'代理'?></span></td>
                </tr>
                <tr>
                	<td style="text-align:right"><span class="base_orgen">我的账号</span></td>
                	<td><span class="base_orgen"><?php echo $output['param']['username']?></span></td>
                </tr>
                <tr>
                	<td style="text-align:right"><span class="base_orgen">可用余额</span></td>
                	<td><span class="base_orgen"><?php echo number_format($output['param']['amount'],2)?>元</span></td>
                </tr>
                <tr>
                	<td style="text-align:right"><span class="base_orgen">团队余额</span></td>
                	<td><span class="base_orgen"><?php echo number_format($output['param']['all_amount'],2)?>元</span></td>
                </tr>
                <tr>
                	<td style="text-align:right"><span class="base_orgen">直属下级</span></td>
                	<td><span class="base_orgen"><?php echo $output['param']['user_count']?>个</span></td>
                </tr>
                <tr>
                	<td style="text-align:right"><span class="base_orgen">所有下级</span></td>
                	<td><span class="base_orgen"><?php echo $output['param']['all_user_count']?>个</span></td>
                </tr>



        </table>
    </div>
    <!--list_table end-->

</div>
<!--list_main end-->

<script type="text/javascript">
	var profitlosslist_BeginDate = "<?php echo $output['param']['beginDate'] ?>";
	var profitlosslist_EndDate = "<?php echo $output['param']['endDate'] ?>";
	var profitlosslist_NameOrNickName = "<?php echo $output['param']['nickname'] ?>";
	var profitlosslist_LiqType = "<?php echo $output['param']['liqtype'] ?>";
	var profitlosslist_Type = "<?php echo $output['param']['type'] ?>";
	var profitlosslist_username = "<?php echo $output['param']['username'] ?>";
	init_teamprofitlosslist();
</script>
